package com.algorithm.queue;/*
 *@Author:DOWN
 *@Date:2021/12/15 15:50
 *@Comment:
 */

import com.algorithm.queue.ArrayQueue;

public class QueueTest {
    public static void main(String[] args){
        ArrayQueue<Integer> arrayQueue=new ArrayQueue<>();
        for(int i=0;i<10;i++){
            arrayQueue.enqueue(i);
            System.out.println(arrayQueue.toString());
            if(i%3==2){
                arrayQueue.dequeue();
            }
        }
        System.out.println(arrayQueue.toString());
        System.out.println(1%7);
    }
}
